<ion-header>
  <ion-toolbar class="orange-bar">
    <ion-buttons slot="start">
      <ion-button color="light" (click)="closeModal()">
        <ion-icon name="close"></ion-icon>
      </ion-button>
    </ion-buttons>
    <ion-title>{{title}}</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>

  <ion-grid>
    <ion-row>
      <ion-col size="6" *ngFor="let item of list">
        <div class="redpacket-item" [class.disabled]="item.disabled" (click)="checkRedpacket(item)">
          <h5>{{item['apr'] ? item['amtStr'] : (item['red_packet_name'] + item['amtStr'])}}</h5>
          <div class="condition">
            <p>使用条件：</p>
            <p>最低投资金额：{{item['invest_amt'] | tenThousand}}元</p>
            <p>最短投资期限：{{item['invest_bid_period']}}个月</p>
          </div>
        </div>
      </ion-col>
    </ion-row>
  </ion-grid>

</ion-content>